package com.dkm.biz.gl.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:t_gl_banner Tbl对象
 * 开发公司:HJ.COM
 * 开发人员:ZHH
 * 创建时间:2016-07-06 17:30:34
 */
 @ITable(name="banner",code="t_gl_banner")
public class BannerTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*id_*/
	@IField(name="type",column="type_")
	protected String  type; 		/*url:外链，id:商品id*/
	@IField(name="status",column="status_")
	protected String  status; 		/*on:上架，down:下架*/
	@IField(name="imageUrl",column="image_url_")
	protected String  imageUrl; 		/*image_url_*/
	@IField(name="url",column="url_")
	protected String  url; 		/*url_*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*create_time_*/
	@IField(name="startTime",column="start_time_")
	protected java.util.Date  startTime; 		/*create_time_*/
	@IField(name="endTime",column="end_time_")
	protected java.util.Date  endTime; 		/*create_time_*/
	@IField(name="bannerKey",column="banner_key_")
	protected String  bannerKey; 		/*banner_key_*/
	@IField(name="saleEntityId",column="sale_entity_id_")
	protected String  saleEntityId; 		/*banner_key_*/
	@IField(name="title",column="title_")
	protected String  title; 		/*url_*/
	@IField(name="sort",column="sort_")
	protected Integer  sort; 	
	
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 id_
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setType(String type) 
	{
		this.type = type;
	}
	/**
	 * 返回 url:外链，id:商品id
	 * @return
	 */
	public String getType() 
	{
		return this.type;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}
	/**
	 * 返回 on:上架，down:下架
	 * @return
	 */
	public String getStatus() 
	{
		return this.status;
	}
	public void setImageUrl(String imageUrl) 
	{
		this.imageUrl = imageUrl;
	}
	/**
	 * 返回 image_url_
	 * @return
	 */
	public String getImageUrl() 
	{
		return this.imageUrl;
	}
	public void setUrl(String url) 
	{
		this.url = url;
	}
	/**
	 * 返回 url_
	 * @return
	 */
	public String getUrl() 
	{
		return this.url;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 create_time_
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	public void setBannerKey(String bannerKey) 
	{
		this.bannerKey = bannerKey;
	}
	/**
	 * 返回 banner_key_
	 * @return
	 */
	public String getBannerKey() 
	{
		return this.bannerKey;
	}
	public java.util.Date getStartTime() {
		return startTime;
	}
	public void setStartTime(java.util.Date startTime) {
		this.startTime = startTime;
	}
	public java.util.Date getEndTime() {
		return endTime;
	}
	public void setEndTime(java.util.Date endTime) {
		this.endTime = endTime;
	}
	public String getSaleEntityId() {
		return saleEntityId;
	}
	public void setSaleEntityId(String saleEntityId) {
		this.saleEntityId = saleEntityId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("type", this.type) 
		.append("status", this.status) 
		.append("imageUrl", this.imageUrl) 
		.append("url", this.url) 
		.append("createTime", this.createTime) 
		.append("bannerKey", this.bannerKey) 
		.toString();
	}
}